package Code5;

public class test1 {
    public static void main(String[] args) {
        //创建对象
        //调用的空参构造
        //Student s = new Student();
        //空参的就要s.age()输入值等等

        Student s = new Student("zhangsan",23);

        System.out.println(s.getName());
        System.out.println(s.getAge());
    }
}
